Optimal. Leaf size=48 \[ \frac {\cos (e+f x) (a+a \sin (e+f x))^{9/2}}{10 a c f (c-c \sin (e+f x))^{11/2}} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.23, antiderivative size = 48, normalized size of antiderivative = 1.00, number of steps
used = 2, number of rules used = 2, integrand size = 38, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.053, Rules used = {2920, 2821}
\begin {gather*} \frac {\cos (e+f x) (a \sin (e+f x)+a)^{9/2}}{10 a c f (c-c \sin (e+f x))^{11/2}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 2821
Rule 2920
Rubi steps
\begin {align*} \int \frac {\cos ^2(e+f x) (a+a \sin (e+f x))^{7/2}}{(c-c \sin (e+f x))^{13/2}} \, dx &=\frac {\int \frac {(a+a \sin (e+f x))^{9/2}}{(c-c \sin (e+f x))^{11/2}} \, dx}{a c}\\ &=\frac {\cos (e+f x) (a+a \sin (e+f x))^{9/2}}{10 a c f (c-c \sin (e+f x))^{11/2}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [B] Leaf count is larger than twice the leaf count of optimal. \(412\) vs. \(2(48)=96\).
time = 6.50, size = 412, normalized size = 8.58 \begin {gather*} \frac {16 \left (\cos \left (\frac {1}{2} (e+f x)\right )-\sin \left (\frac {1}{2} (e+f x)\right )\right )^3 (a (1+\sin (e+f x)))^{7/2}}{5 f \left (\cos \left (\frac {1}{2} (e+f x)\right )+\sin \left (\frac {1}{2} (e+f x)\right )\right )^7 (c-c \sin (e+f x))^{13/2}}-\frac {8 \left (\cos \left (\frac {1}{2} (e+f x)\right )-\sin \left (\frac {1}{2} (e+f x)\right )\right )^5 (a (1+\sin (e+f x)))^{7/2}}{f \left (\cos \left (\frac {1}{2} (e+f x)\right )+\sin \left (\frac {1}{2} (e+f x)\right )\right )^7 (c-c \sin (e+f x))^{13/2}}+\frac {8 \left (\cos \left (\frac {1}{2} (e+f x)\right )-\sin \left (\frac {1}{2} (e+f x)\right )\right )^7 (a (1+\sin (e+f x)))^{7/2}}{f \left (\cos \left (\frac {1}{2} (e+f x)\right )+\sin \left (\frac {1}{2} (e+f x)\right )\right )^7 (c-c \sin (e+f x))^{13/2}}-\frac {4 \left (\cos \left (\frac {1}{2} (e+f x)\right )-\sin \left (\frac {1}{2} (e+f x)\right )\right )^9 (a (1+\sin (e+f x)))^{7/2}}{f \left (\cos \left (\frac {1}{2} (e+f x)\right )+\sin \left (\frac {1}{2} (e+f x)\right )\right )^7 (c-c \sin (e+f x))^{13/2}}+\frac {\left (\cos \left (\frac {1}{2} (e+f x)\right )-\sin \left (\frac {1}{2} (e+f x)\right )\right )^{11} (a (1+\sin (e+f x)))^{7/2}}{f \left (\cos \left (\frac {1}{2} (e+f x)\right )+\sin \left (\frac {1}{2} (e+f x)\right )\right )^7 (c-c \sin (e+f x))^{13/2}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [B] Leaf count of result is larger than twice the leaf count of optimal. \(190\) vs.
\(2(42)=84\).
time = 0.16, size = 191, normalized size = 3.98
method | result | size |
default | \(-\frac {\left (\cos ^{4}\left (f x +e \right )-12 \left (\cos ^{2}\left (f x +e \right )\right )+16\right ) \left (a \left (1+\sin \left (f x +e \right )\right )\right )^{\frac {7}{2}} \sin \left (f x +e \right ) \left (\cos \left (f x +e \right ) \sin \left (f x +e \right )-\left (\cos ^{2}\left (f x +e \right )\right )-2 \sin \left (f x +e \right )-\cos \left (f x +e \right )+2\right )}{5 f \left (\cos ^{4}\left (f x +e \right )+\left (\cos ^{3}\left (f x +e \right )\right ) \sin \left (f x +e \right )+3 \left (\cos ^{3}\left (f x +e \right )\right )-4 \left (\cos ^{2}\left (f x +e \right )\right ) \sin \left (f x +e \right )-8 \left (\cos ^{2}\left (f x +e \right )\right )-4 \cos \left (f x +e \right ) \sin \left (f x +e \right )-4 \cos \left (f x +e \right )+8 \sin \left (f x +e \right )+8\right ) \left (-c \left (\sin \left (f x +e \right )-1\right )\right )^{\frac {13}{2}}}\) | \(191\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [B] Leaf count of result is larger than twice the leaf count of optimal. 161 vs.
\(2 (45) = 90\).
time = 0.36, size = 161, normalized size = 3.35 \begin {gather*} \frac {{\left (5 \, a^{3} \cos \left (f x + e\right )^{4} - 20 \, a^{3} \cos \left (f x + e\right )^{2} + 16 \, a^{3}\right )} \sqrt {a \sin \left (f x + e\right ) + a} \sqrt {-c \sin \left (f x + e\right ) + c}}{5 \, {\left (5 \, c^{7} f \cos \left (f x + e\right )^{5} - 20 \, c^{7} f \cos \left (f x + e\right )^{3} + 16 \, c^{7} f \cos \left (f x + e\right ) - {\left (c^{7} f \cos \left (f x + e\right )^{5} - 12 \, c^{7} f \cos \left (f x + e\right )^{3} + 16 \, c^{7} f \cos \left (f x + e\right )\right )} \sin \left (f x + e\right )\right )}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F(-1)] Timed out
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Timed out} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [B] Leaf count of result is larger than twice the leaf count of optimal. 197 vs.
\(2 (45) = 90\).
time = 0.56, size = 197, normalized size = 4.10 \begin {gather*} -\frac {{\left (5 \, a^{3} \mathrm {sgn}\left (\cos \left (-\frac {1}{4} \, \pi + \frac {1}{2} \, f x + \frac {1}{2} \, e\right )\right ) \sin \left (-\frac {1}{4} \, \pi + \frac {1}{2} \, f x + \frac {1}{2} \, e\right )^{8} - 10 \, a^{3} \mathrm {sgn}\left (\cos \left (-\frac {1}{4} \, \pi + \frac {1}{2} \, f x + \frac {1}{2} \, e\right )\right ) \sin \left (-\frac {1}{4} \, \pi + \frac {1}{2} \, f x + \frac {1}{2} \, e\right )^{6} + 10 \, a^{3} \mathrm {sgn}\left (\cos \left (-\frac {1}{4} \, \pi + \frac {1}{2} \, f x + \frac {1}{2} \, e\right )\right ) \sin \left (-\frac {1}{4} \, \pi + \frac {1}{2} \, f x + \frac {1}{2} \, e\right )^{4} - 5 \, a^{3} \mathrm {sgn}\left (\cos \left (-\frac {1}{4} \, \pi + \frac {1}{2} \, f x + \frac {1}{2} \, e\right )\right ) \sin \left (-\frac {1}{4} \, \pi + \frac {1}{2} \, f x + \frac {1}{2} \, e\right )^{2} + a^{3} \mathrm {sgn}\left (\cos \left (-\frac {1}{4} \, \pi + \frac {1}{2} \, f x + \frac {1}{2} \, e\right )\right )\right )} \sqrt {a}}{10 \, c^{\frac {13}{2}} f \mathrm {sgn}\left (\sin \left (-\frac {1}{4} \, \pi + \frac {1}{2} \, f x + \frac {1}{2} \, e\right )\right ) \sin \left (-\frac {1}{4} \, \pi + \frac {1}{2} \, f x + \frac {1}{2} \, e\right )^{10}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.02 \begin {gather*} \int \frac {{\cos \left (e+f\,x\right )}^2\,{\left (a+a\,\sin \left (e+f\,x\right )\right )}^{7/2}}{{\left (c-c\,\sin \left (e+f\,x\right )\right )}^{13/2}} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________